/***********************************************
 * Title:       Course.java
 * Description: Course.java
 * Author:      Niyuzhe
 * Create Date: 2010-2-3
 * CopyRight:   CopyRight(c)@2009
 * Company:     TJUSCS
 * Version:     1.0
 ***********************************************
 */
package edu.tju.education.model;

/**
 * @author Niyuzhe
 * 
 */
public class Course
{

        private long id;
        private long courseScheduleId;
        private long theClassId;
        private long teacherId;

        /**
         * @return the id
         */
        public long getId()
        {
                return id;
        }

        /**
         * @param id
         *                the id to set
         */
        public void setId(long id)
        {
                this.id = id;
        }

        /**
         * @return the courseScheduleId
         */
        public long getCourseScheduleId()
        {
                return courseScheduleId;
        }

        /**
         * @param courseScheduleId
         *                the courseScheduleId to set
         */
        public void setCourseScheduleId(long courseScheduleId)
        {
                this.courseScheduleId = courseScheduleId;
        }

        /**
         * @return the theClassId
         */
        public long getTheClassId()
        {
                return theClassId;
        }

        /**
         * @param theClassId
         *                the theClassId to set
         */
        public void setTheClassId(long theClassId)
        {
                this.theClassId = theClassId;
        }

        /**
         * @return the teacherId
         */
        public long getTeacherId()
        {
                return teacherId;
        }

        /**
         * @param teacherId
         *                the teacherId to set
         */
        public void setTeacherId(long teacherId)
        {
                this.teacherId = teacherId;
        }

        /*
         * (non-Javadoc)
         * 
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString()
        {
                return "Course [courseScheduleId=" + courseScheduleId + ", id=" + id
                                + ", teacherId=" + teacherId + ", theClassId=" + theClassId + "]";
        }
}
